package cn.v2tila.rsosa.student.service;

import cn.v2tila.rsosa.student.entity.CollegeEntity;
import org.hibernate.mapping.Collection;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author v2tila on 16:27 2019/2/25
 */
@Service
public interface CollegeService {
    List<CollegeEntity> findBySchoolNo(String schoolNo);
    CollegeEntity findByNo(String no);

    CollegeEntity findByNameAndSchoolNo(String name,String schoolNo);

    CollegeEntity findBySchoolNoAndNo(String schoolName, String No);
}
